package com.longlong.vo;

public enum ResponseEnum {
    SUCCESS(200,"成功!"),
    //401 Unauthorized 请求要求用户的身份认证
    UNAUTHORIZED(401,"用户未登录"),
    FORBIDDEN(403, "权限不足无法访问"),
    ;

    private Integer code;
    private String message;
    ResponseEnum(Integer code,String mesage){
        this.code = code;
        this.message =mesage;
    }
    public Integer getCode() {
        return code;
    }
    public String getMessage() {
        return message;
    }
}
